package com.zhiqianbao.entity;

import java.util.List;

/**
 * Created by hp on 2017/7/18.
 */
public class CouponInfo {

    /**
     * code : 0
     * msg : 获取用户优惠券成功
     * data : {"couponList":[{"activityId":1,"note":"1元","descreption":"描述描述描述描述","couponType":1,"endTimeStr":"2017-07-14 15:39:51","name":"利息折扣券","id":1,"endTime":"2017-07-14","userId":1,"status":"3"}],"pageSize":"10","totalCount":1,"pageNum":"1"}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public  class DataBean {
        /**
         * couponList : [{"activityId":1,"note":"1元","descreption":"描述描述描述描述","couponType":1,"endTimeStr":"2017-07-14 15:39:51","name":"利息折扣券","id":1,"endTime":"2017-07-14","userId":1,"status":"3"}]
         * pageSize : 10
         * totalCount : 1
         * pageNum : 1
         */

        private String pageSize;
        private int totalCount;
        private String pageNum;

        public int getIsUseCount() {
            return isUseCount;
        }

        public void setIsUseCount(int isUseCount) {
            this.isUseCount = isUseCount;
        }

        public int getUnUseCount() {
            return unUseCount;
        }

        public void setUnUseCount(int unUseCount) {
            this.unUseCount = unUseCount;
        }

        public int getOverdueCount() {
            return overdueCount;
        }

        public void setOverdueCount(int overdueCount) {
            this.overdueCount = overdueCount;
        }

        private int isUseCount;//已使用数量
        private int unUseCount;//未使用数量
        private int overdueCount;//已过期数量
        private List<CouponListBean> couponList;

        public String getPageSize() {
            return pageSize;
        }

        public void setPageSize(String pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public String getPageNum() {
            return pageNum;
        }

        public void setPageNum(String pageNum) {
            this.pageNum = pageNum;
        }

        public List<CouponListBean> getCouponList() {
            return couponList;
        }

        public void setCouponList(List<CouponListBean> couponList) {
            this.couponList = couponList;
        }

        public class CouponListBean {
            /**
             * activityId : 1
             * note : 1元
             * descreption : 描述描述描述描述
             * couponType : 1
             * endTimeStr : 2017-07-14 15:39:51
             * name : 利息折扣券
             * id : 1
             * endTime : 2017-07-14
             * userId : 1
             * status : 3
             */

            private int activityId;
            private String note;
            private String descreption;
            private int couponType;
            private String endTimeStr;
            private String name;
            private int id;
            private String endTime;
            private int userId;
            private String status;
            private int upDownState=1;

            public int getActivityId() {
                return activityId;
            }

            public void setActivityId(int activityId) {
                this.activityId = activityId;
            }

            public int getUpDownState() {
                return upDownState;
            }

            public void setUpDownState(int upDownState) {
                this.upDownState = upDownState;
            }

            public String getNote() {
                return note;
            }

            public void setNote(String note) {
                this.note = note;
            }

            public String getDescreption() {
                return descreption;
            }

            public void setDescreption(String descreption) {
                this.descreption = descreption;
            }

            public int getCouponType() {
                return couponType;
            }

            public void setCouponType(int couponType) {
                this.couponType = couponType;
            }

            public String getEndTimeStr() {
                return endTimeStr;
            }

            public void setEndTimeStr(String endTimeStr) {
                this.endTimeStr = endTimeStr;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}
